package com.atguigu.realtime.beans

/**
 * Created by Smexy on 2021/7/5
 *    属性如何确定？
 *        当前这个样例类封装的是从kafka的启动日志主体消费的数据。
 *            消费的数据有什么样的属性，这个样例类就有对于的属性
 *
 *            {"area":"heilongjiang","uid":"92","os":"ios","ch":"appstore","appid":"gmall2019",
 *            "mid":"mid_231","type":"startup","vs":"1.1.3","ts":1625025303319}
 *
 *
 *
 *        可以额外添加自己需要的属性
 */
case class StartUpLog(mid:String,
                      uid:String,
                      appid:String,
                      area:String,
                      os:String,
                      ch:String,
                      `type`:String,
                      vs:String,
                     //kafka里面没有，为了统计最终结果，额外设置的字段，需要从ts转换得到
                      var logDate:String,
                      var logHour:String,
                      var ts:Long)
